package org.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.domain.entity.SysUser;

import java.util.List;

@Mapper
public interface ISysUserDao extends BaseMapper<SysUser> {
    SysUser selectByUsername(@Param("username") String username);

    List<SysUser> selectUserById(@Param("deptId") Long deptId);
}
